package com.zkzx.company.api.mapper;

import com.zkzx.company.api.mapper.entity.CompanyRoleAuthority;
import com.zkzx.company.api.mapper.entity.CompanyRoleAuthorityExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface CompanyRoleAuthorityMapper {
    long countByExample(CompanyRoleAuthorityExample example);

    int deleteByExample(CompanyRoleAuthorityExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CompanyRoleAuthority record);

    int insertSelective(CompanyRoleAuthority record);

    List<CompanyRoleAuthority> selectByExample(CompanyRoleAuthorityExample example);

    CompanyRoleAuthority selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CompanyRoleAuthority record, @Param("example") CompanyRoleAuthorityExample example);

    int updateByExample(@Param("record") CompanyRoleAuthority record, @Param("example") CompanyRoleAuthorityExample example);

    int updateByPrimaryKeySelective(CompanyRoleAuthority record);

    int updateByPrimaryKey(CompanyRoleAuthority record);
}